﻿<%@ Page Language="C#" MasterPageFile="~/Manager/MasterPage/PageTemplate.Master" AutoEventWireup="True"
    Codebehind="Manager.aspx.cs" Inherits="BingZi.UIProduct.Manager" ValidateRequest="false"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
 
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveClientUrl("~/Manager/inc/FineMessBox/css/subModal.css")%>" />
    <script type="text/javascript" src="<%=Page.ResolveClientUrl("~/Manager/inc/FineMessBox/js/common.js")%>"></script>
    <script type="text/javascript" src="<%=Page.ResolveClientUrl("~/Manager/inc/FineMessBox/js/subModal.js")%>"></script>
<script language="javascript" src="<%=Page.ResolveClientUrl("~/manager/js/jquery-pack.js")%>"  charset="utf-8"></script>     
<%if (((CMD == "New") || (CMD == "Edit")))
                                          {  %> 
<script type="text/javascript" src="<%=Page.ResolveClientUrl("~/")%>manager/inc/fckeditor/fckeditor.js"></script>

	<script type="text/javascript">

window.onload = function()
{
	// Automatically calculates the editor base path based on the _samples directory.
	// This is usefull only for these samples. A real application should use something like this:
	// oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
	//var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;

	var oFCKeditor = new FCKeditor( '<%=ContentText_Input.UniqueID %>' ) ;
	 
	oFCKeditor.BasePath	= "/manager/inc/fckeditor/"
	oFCKeditor.ToolbarSet ="Min";
	oFCKeditor.Width = '80%'
	oFCKeditor.Height = '350'
	oFCKeditor.ReplaceTextarea() ;


    var ContactUs_FCKeditor = new FCKeditor( '<%=ContactUs_Input.UniqueID %>' ) ;
	 
	ContactUs_FCKeditor.BasePath	= "/manager/inc/fckeditor/"
	ContactUs_FCKeditor.ToolbarSet ="Min";
	ContactUs_FCKeditor.Width = '80%'
	ContactUs_FCKeditor.Height = '280'
	ContactUs_FCKeditor.ReplaceTextarea() ;


}
document.aspnetForm.onsubmit =function(){ 
   	var oEditor = FCKeditorAPI.GetInstance('<%=ContentText_Input.UniqueID %>');
    oEditor.UpdateLinkedField();

    var ContactUs_Editor = FCKeditorAPI.GetInstance('<%=ContactUs_Input.UniqueID %>');
    ContactUs_Editor.UpdateLinkedField();
    return checkForm(this)
}
function FCKeditor_OnComplete(editorInstance) {
 
}
<%}%>
</script>





    <BingZiWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"  HeadTitleTxt="商品信息">
        <BingZiWebControls:HeadMenuButtonItem ButtonPopedom="List" ButtonUrl="Default.aspx"
            ButtonUrlType="Href" ButtonVisible="True" ButtonName="商品信息" />
    </BingZiWebControls:HeadMenuWebControls>
    <BingZiWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <BingZiWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="查看/修改/增加商品信息">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">

              
              

                <tr>
                    <td class="table_body">
                        标题</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="Title_Input" title="请输入标题~512:!" runat="server" Width="80%" TextMode="MultiLine" Height="50" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="Title_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        副标题</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="Subtitle_Input" title="请输入副标题~256:!" runat="server" Width="80%" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="Subtitle_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        商品图片</td>
                    <td class="table_none">
                         <asp:Image ID="Picture_Disp" border="0" runat="server" onclick="javascript:window.open(this.title)"
                            Style="cursor: pointer" title="点击放大" /><br />
                         <asp:FileUpload ID="Picture_Input" runat="server" contentEditable="false" CssClass="text_input" />
                        </td>
                </tr>

                  <tr>
                    <td class="table_body">
                        商品分类</td>
                    <td class="table_none">
                     
                        <BingZiWebControls:CustDropDownList ID="CategoryID_Input" title="请输入店铺分类~2147483648:int!" runat="server" CssClass="text_input"></BingZiWebControls:CustDropDownList>
                    
                        <asp:Label ID="CategoryID_Disp" runat="server"></asp:Label></td>
                </tr>


                <tr>
                    <td class="table_body">
                        商品详情</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="ContentText_Input" title="请输入商品详情~2147483647:" runat="server" CssClass="text_input" TextMode="MultiLine" ></asp:TextBox>
                    
                        <asp:Label ID="ContentText_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        联系方式或地址</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="ContactUs_Input" title="请输入联系方式或地址~2147483647:" runat="server" CssClass="text_input"  TextMode="MultiLine" ></asp:TextBox>
                    
                        <asp:Label ID="ContactUs_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        现在价格</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="PriceNow_Input" title="请输入现在价格~float!" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:Label ID="PriceNow_Disp" runat="server"></asp:Label>元</td>
                </tr>

                <tr>
                    <td class="table_body">
                        原价</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="PriceOriginal_Input" title="请输入原价~float!" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="PriceOriginal_Disp" runat="server"></asp:Label>元</td>
                </tr>

                <tr>
                    <td class="table_body">
                        最小成团数量</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="MinNumber_Input" title="请输入最小成团数量~2147483648:int!" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="MinNumber_Disp" runat="server"></asp:Label>(件/个/部)</td>
                </tr>

                <tr>
                    <td class="table_body">
                        库存数量</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="InventoryNumber_Input" title="请输入库存数量~2147483648:int!" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="InventoryNumber_Disp" runat="server"></asp:Label>(件/个/部)</td>
                </tr>

                <tr>
                    <td class="table_body">
                        销量</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="SalesNumber_Input" title="请输入销量~2147483648:int!" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="SalesNumber_Disp" runat="server"></asp:Label>(件/个/部)</td>
                </tr>

                <tr>
                    <td class="table_body">
                        开始时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="StartTime_Input" title="请输入开始时间~date!" onfocus="HS_setDate(this)" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="StartTime_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        结束时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="EndTime_Input" title="请输入结束时间~date!" onfocus="HS_setDate(this)" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        <asp:Label ID="EndTime_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        是否置顶</td>
                    <td class="table_none">
                        <asp:CheckBox ID="IsTop_Input" runat="server" />
                    
                    
                        <asp:Label ID="IsTop_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        状态</td>
                    <td class="table_none">
                        <asp:RadioButtonList ID="Status_Input" runat="server" RepeatDirection="Horizontal" CssClass="text_input"></asp:RadioButtonList>
                        <%--<asp:TextBox ID="Status_Input" title="请输入状态~255:int!" runat="server" CssClass="text_input"></asp:TextBox>--%>
                    
                        <asp:Label ID="Status_Disp" runat="server"></asp:Label></td>
                </tr>
                </table>

               <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" id="UpdateTable" runat="server">
                <tr>
                    <td class="table_body">
                        最后更新时间</td>
                    <td class="table_none">
                        <asp:Label ID="LastTime_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        最后更新用户</td>
                    <td class="table_none">
                     
                        
                    
                        <asp:Label ID="LastUser_Disp" runat="server"></asp:Label></td>
                </tr>

                <tr>
                    <td class="table_body">
                        最后更新IP</td>
                    <td class="table_none">
                      
                        <asp:Label ID="LastIP_Disp" runat="server"></asp:Label></td>
                </tr>
               </table>

               <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">             
                <tr id="ButtonOption" runat="server">
                    <td align="right" colspan="2">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                        <input id="Reset1" class="button_bak" type="reset" value="重填" />
                    </td>
                </tr>
            </table>
        </BingZiWebControls:TabOptionItem>
    </BingZiWebControls:TabOptionWebControls>
</asp:Content>
